/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package desu.nya.DAO;

import desu.nya.Otaku;
import java.sql.SQLException;
import java.util.List;

/**
 *
 * @author Fess
 */
public interface OtakuDAO {
    public Otaku addOtaku(Otaku otaku) throws SQLException;
    public Otaku getOtakuByID(int id) throws SQLException;
    public void updateOtaku(int otaku_id,Otaku otaku) throws SQLException;
    public List<String> getAllOtaku() throws SQLException;
    public void deleteOtaku(Otaku otaku) throws SQLException;
    public Otaku login(String log,String pass);
}
